home *** CD-ROM | disk | FTP | other *** search
- global debug, bank, mm, status, hit1, hit2, hit3
-
- on exitFrame
- set lm to length(field "BUFF") - (8 * 3)
- set mm to value(chars(field "BUFF", 1, lm))
- if chars(field "BUFF", lm, lm) = "1" then
- if mm >= 0 then
- set the visible of sprite 8 to 1
- set the visible of sprite 14 to 1
- set hit1 to 1
- end if
- end if
- if chars(field "BUFF", lm + 1, lm + 1) = "2" then
- set the visible of sprite 9 to 1
- set the visible of sprite 15 to 1
- set hit2 to 1
- end if
- if chars(field "BUFF", lm + 2, lm + 2) = "3" then
- if mm >= 0 then
- set the visible of sprite 10 to 1
- set the visible of sprite 16 to 1
- set hit3 to 1
- end if
- end if
- if (hit1 = 0) and (hit2 = 0) and (hit3 = 0) then
- if debug = 0 then
- preloadnetthing("OPENJ.dcr")
- set status to 1
- else
- alert("PreLoad OPENJ")
- end if
- else
- set the visible of sprite 7 to 1
- set the visible of sprite 12 to 0
- end if
- go("ToBeC")
- end
-